package cn.iocoder.yudao.module.fm.convert.fileinfo;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.fm.controller.admin.fileinfo.vo.*;
import cn.iocoder.yudao.module.fm.dal.dataobject.fileinfo.FileInfoDO;

/**
 * 文件信息 Convert
 *
 * @author 档案
 */
@Mapper
public interface FileInfoConvert {

    FileInfoConvert INSTANCE = Mappers.getMapper(FileInfoConvert.class);

    FileInfoDO convert(FileInfoCreateReqVO bean);

    FileInfoDO convert(FileInfoUpdateReqVO bean);

    FileInfoRespVO convert(FileInfoDO bean);

    List<FileInfoRespVO> convertList(List<FileInfoDO> list);

    PageResult<FileInfoRespVO> convertPage(PageResult<FileInfoDO> page);

    List<FileInfoExcelVO> convertList02(List<FileInfoDO> list);

}
